package com.objecteffects.ilmp.persist.api;

import com.objecteffects.ilmp.model.UserEntity;

/**
 * @author Rusty Wright
 */
public interface IUserEntityDao extends IGenericDao<UserEntity> {
    UserEntity findByUserName(String username);

    UserEntity findByHash(String hash);

    /**
     * @param entity
     * @return
     */
    UserEntity refresh(UserEntity entity);
}
